/**
 * Created by John on 2016/7/22.
 */
var mongo = new Mongo('localhost');
var db = mongo.getDB('BeginningMongoDB');

var validates = db.getCollection('word_stats').validate();

printjson(validates);